<template>
    <div class="bg">
        <van-nav-bar fixed class="navclass" left-arrow @click-left="onClickLeft" title="选择挑战模式"></van-nav-bar>
        <div class="card_border">
            <Card></Card>
        </div>
    </div>
</template>

<script>
import Card from '@/components/Card'
export default {
    components:{
        Card
    },
    methods:{
        onClickLeft(){
            this.$router.push("/menu")
        }
    }
}
</script>

<style scoped>

.bg{
    background-image: url("http://127.0.0.1:8081/Back.PNG");
    height: 100vh;
    width: 100vw;
    background-size: 100% 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    display: flex;
    flex-direction: column;
    justify-items: center;
    /* align-items: center; */
}
.card_border{
    /* border: 1px solid red; */
    height: 40vh;
    padding-bottom: 10vh;
    margin: auto 5vw;
}
.navclass{
    background-color: unset;
    color: white;
}
.van-hairline--bottom::after{
    border-bottom-width:0px;
}
</style>
